<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<#if de.packageNameSuffix ==''>
<mapper namespace="${de.packageName}.mapper.${entityNam}Mapper">
<resultMap id="BaseResultMap" type="${de.packageName}.entity.${entityNam}">
<#else>
<mapper namespace="${de.packageName}.mapper.${de.packageNameSuffix}.${entityNam}Mapper">
<resultMap id="BaseResultMap" type="${de.packageName}.entity.${de.packageNameSuffix}.${entityNam}">
</#if>


	<#list tablekeys as tablekey>
		<id property="${tablekey.entityColumnNam}" column="${tablekey.columnNam}" javaType="${tablekey.entityColumnTyp}" jdbcType="${tablekey.columnTyp}"></id>
	</#list>
	<#list columnEntitys as columnEntity>
		<#if columnEntity.key==false>
		<!-- ${columnEntity.entityColumnComment} -->
		<result property="${columnEntity.entityColumnNam}" column="${columnEntity.columnNam}" javaType="${columnEntity.entityColumnTyp}" jdbcType="${columnEntity.columnTyp}"/>
		</#if>
	</#list>
  </resultMap>
</mapper>	
	
	
	
